#pragma once

#include "IAutomat.h"

//forward declaration
class IAutomat;

class IState
{
protected:
    //IState* state;//DOESNT WORK?!

public:
    static IState* makeState();
    virtual void read(char c, IAutomat* automat)=0;
};
